Skip to content

Conversation

@fairydreaming
Copy link
Collaborator

This PR fixes a bug that results in accumulation of sequence ids in seq_ids_enc vector of sets when processing batches containing multiple sequences in encoder-decoder models (T5 and family). By clearing sets before storing sequence ids of current encoder output previously stored values are removed which prevents possible accumulation of sequence ids.

@fairydreaming fairydreaming merged commit 568013d into ggml-org:master Mar 19, 2025
48 checks passed
@fairydreaming fairydreaming deleted the t5-seq-ids-enc-clear branch March 22, 2025 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants